<template>
  <div class="header">
    <div class="inner">
      <icon type="search" size="16" color="#bbb"> </icon>
      <span>搜索</span>
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style lang="less" scoped>
.header {
  background-color: #eb4450;
  height: 100rpx;
  display: flex;
  align-content: center;
  padding: 0 16px;
  .inner {
    flex: 1;
    height: 60rpx;
    background-color: #fff;
    border-radius: 8rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    span {
      color: #bbb;
    }
    icon {
      margin-right: 16rpx;
      margin-top: 8rpx;
    }
  }
}
</style>
